package com.zhima.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum QuestionScope {
    /**
     * 只有自己可见
     */
    PRIVATE("private"),
    /**
     * 所有人可见
     */
    PUBLIC("public"),
    /**
     * 比赛可见
     */
    CONTEST("contest"),
    ;
    @EnumValue
    private final String scope;

    QuestionScope(String scope) {
        this.scope = scope;
    }

    public String getScope() {
        return scope;
    }
}
